package org.grow.auth.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.auth.domain.Employee;

@Mapper
public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer employeeId);

    int insert(Employee record);

    Employee selectByPrimaryKey(Integer employeeId);

    int updateByPrimaryKey(Employee record);

    Employee findByUsername(@Param("n") String username);
}